﻿2026-05-10T14:53:10.4121514Z ##[group]Run pnpm --filter @rebno/client test:e2e
2026-05-10T14:53:10.4122223Z [36;1mpnpm --filter @rebno/client test:e2e[0m
2026-05-10T14:53:10.4175625Z shell: /usr/bin/bash -e {0}
2026-05-10T14:53:10.4176067Z env:
2026-05-10T14:53:10.4176501Z   PNPM_HOME: /home/runner/setup-pnpm/node_modules/.bin
2026-05-10T14:53:10.4177156Z   STAGING_URL: https://staging.rebno.decidel.com
2026-05-10T14:53:10.4178112Z   STAGING_INVITE_TOKEN: ***
2026-05-10T14:53:10.4178836Z   UAT_ACCOUNT_A: ***
2026-05-10T14:53:10.4179281Z   UAT_PASSWORD_A: ***
2026-05-10T14:53:10.4179666Z   UAT_ACCOUNT_B: ***
2026-05-10T14:53:10.4180112Z   UAT_PASSWORD_B: ***
2026-05-10T14:53:10.4180481Z ##[endgroup]
2026-05-10T14:53:10.7423039Z 
2026-05-10T14:53:10.7424164Z > @rebno/client@0.1.0 test:e2e /home/runner/work/rebno/rebno/apps/client
2026-05-10T14:53:10.7425095Z > playwright test
2026-05-10T14:53:10.7425456Z 
2026-05-10T14:53:11.8240788Z 
2026-05-10T14:53:11.8241598Z Running 1 test using 1 worker
2026-05-10T14:53:11.8242462Z 
2026-05-10T14:53:27.3040347Z [cli-08 diag] beforeX=500 afterX=500 A.lastInput={"scene":{"key":"GameScene"},"room":{"sessionId":"mNKQ8YQyq"},"remotePlayers":[{"username":"***","x":500,"y":500}],"keyEvents":[{"key":"D","kind":"down","t":1778424805049},{"key":"D","kind":"up","t":1778424806285}],"lastInputAxes":{"x":0,"y":0},"lastInputSeq":0}
2026-05-10T14:53:29.1930627Z   ✘  1 [chromium] › test/e2e/cli-08.e2e.test.ts:22:1 › CLI-08 hard milestone — two clients see each other move + chat round-trip + reconnect grace (16.1s)
2026-05-10T14:53:39.0691725Z   ✘  2 [chromium] › test/e2e/cli-08.e2e.test.ts:22:1 › CLI-08 hard milestone — two clients see each other move + chat round-trip + reconnect grace (retry #1) (8.6s)
2026-05-10T14:53:39.0989716Z 
2026-05-10T14:53:39.0989867Z 
2026-05-10T14:53:39.1009222Z   1) [chromium] › test/e2e/cli-08.e2e.test.ts:22:1 › CLI-08 hard milestone — two clients see each other move + chat round-trip + reconnect grace 
2026-05-10T14:53:39.1017538Z 
2026-05-10T14:53:39.1022976Z     Error: [2mexpect([22m[31mreceived[39m[2m).[22mtoBeGreaterThan[2m([22m[32mexpected[39m[2m)[22m
2026-05-10T14:53:39.1024055Z 
2026-05-10T14:53:39.1024519Z     Expected: > [32m530[39m
2026-05-10T14:53:39.1025290Z     Received:   [31m500[39m
2026-05-10T14:53:39.1025778Z 
2026-05-10T14:53:39.1026580Z       80 |       `[cli-08 diag] beforeX=${beforeX} afterX=${afterX} A.lastInput=${JSON.stringify(aLastAxes)}`,
2026-05-10T14:53:39.1027676Z       81 |     );
2026-05-10T14:53:39.1029131Z     > 82 |     expect(afterX).toBeGreaterThan(beforeX + 30); // ≥30 px movement; conservative.
2026-05-10T14:53:39.1033523Z          |                    ^
2026-05-10T14:53:39.1034213Z       83 |
2026-05-10T14:53:39.1035088Z       84 |     // (4) Chat round-trip. A presses Enter to focus chat, types, Enter to send.
2026-05-10T14:53:39.1036337Z       85 |     //     B sees a `.chat-line` matching `<sender>: <text>` within 5s.
2026-05-10T14:53:39.1037511Z         at /home/runner/work/rebno/rebno/apps/client/test/e2e/cli-08.e2e.test.ts:82:20
2026-05-10T14:53:39.1059080Z 
2026-05-10T14:53:39.1060202Z     attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
2026-05-10T14:53:39.1061812Z     test-results/cli-08.e2e-CLI-08-hard-mil-38a87--round-trip-reconnect-grace-chromium/test-failed-1.png
2026-05-10T14:53:39.1063542Z     ────────────────────────────────────────────────────────────────────────────────────────────────
2026-05-10T14:53:39.1064285Z 
2026-05-10T14:53:39.1065249Z     attachment #2: screenshot (image/png) ──────────────────────────────────────────────────────────
2026-05-10T14:53:39.1066829Z     test-results/cli-08.e2e-CLI-08-hard-mil-38a87--round-trip-reconnect-grace-chromium/test-failed-2.png
2026-05-10T14:53:39.1068576Z     ────────────────────────────────────────────────────────────────────────────────────────────────
2026-05-10T14:53:39.1069248Z 
2026-05-10T14:53:39.1070104Z     Error Context: test-results/cli-08.e2e-CLI-08-hard-mil-38a87--round-trip-reconnect-grace-chromium/error-context.md
2026-05-10T14:53:39.1071684Z 
2026-05-10T14:53:39.1072715Z     attachment #4: trace (application/zip) ─────────────────────────────────────────────────────────
2026-05-10T14:53:39.1074328Z     test-results/cli-08.e2e-CLI-08-hard-mil-38a87--round-trip-reconnect-grace-chromium/trace.zip
2026-05-10T14:53:39.1075427Z     Usage:
2026-05-10T14:53:39.1075793Z 
2026-05-10T14:53:39.1076880Z         pnpm exec playwright show-trace test-results/cli-08.e2e-CLI-08-hard-mil-38a87--round-trip-reconnect-grace-chromium/trace.zip
2026-05-10T14:53:39.1077945Z 
2026-05-10T14:53:39.1079092Z     ────────────────────────────────────────────────────────────────────────────────────────────────
2026-05-10T14:53:39.1079847Z 
2026-05-10T14:53:39.1080714Z     Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
2026-05-10T14:53:39.1081480Z 
2026-05-10T14:53:39.1082376Z     Error: [2mexpect([22m[31mlocator[39m[2m).[22mtoBeAttached[2m([22m[2m)[22m failed
2026-05-10T14:53:39.1083295Z 
2026-05-10T14:53:39.1083980Z     Locator: locator('[data-nameplate="***"]')
2026-05-10T14:53:39.1084731Z     Expected: attached
2026-05-10T14:53:39.1085879Z     Error: strict mode violation: locator('[data-nameplate="***"]') resolved to 2 elements:
2026-05-10T14:53:39.1087529Z         1) <div data-x-coord="500" data-y-coord="472" data-nameplate="***">***</div> aka getByText('***').first()
2026-05-10T14:53:39.1089468Z         2) <div data-x-coord="500" data-y-coord="472" data-nameplate="***">***</div> aka getByText('***').nth(1)
2026-05-10T14:53:39.1090377Z 
2026-05-10T14:53:39.1090725Z     Call log:
2026-05-10T14:53:39.1091631Z     [2m  - Expect "toBeAttached" with timeout 10000ms[22m
2026-05-10T14:53:39.1092756Z     [2m  - waiting for locator('[data-nameplate="***"]')[22m
2026-05-10T14:53:39.1093431Z 
2026-05-10T14:53:39.1093605Z 
2026-05-10T14:53:39.1093955Z       45 |     await expect(
2026-05-10T14:53:39.1094843Z       46 |       a.locator(`[data-nameplate="${accountB.username}"]`),
2026-05-10T14:53:39.1096178Z     > 47 |     ).toBeAttached({ timeout: 10_000 });
2026-05-10T14:53:39.1096897Z          |       ^
2026-05-10T14:53:39.1097470Z       48 |     await expect(
2026-05-10T14:53:39.1098674Z       49 |       b.locator(`[data-nameplate="${accountA.username}"]`),
2026-05-10T14:53:39.1099581Z       50 |     ).toBeAttached({ timeout: 10_000 });
2026-05-10T14:53:39.1100686Z         at /home/runner/work/rebno/rebno/apps/client/test/e2e/cli-08.e2e.test.ts:47:7
2026-05-10T14:53:39.1101478Z 
2026-05-10T14:53:39.1102470Z     attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
2026-05-10T14:53:39.1104163Z     test-results/cli-08.e2e-CLI-08-hard-mil-38a87--round-trip-reconnect-grace-chromium-retry1/test-failed-1.png
2026-05-10T14:53:39.1106016Z     ────────────────────────────────────────────────────────────────────────────────────────────────
2026-05-10T14:53:39.1106797Z 
2026-05-10T14:53:39.1107778Z     attachment #2: screenshot (image/png) ──────────────────────────────────────────────────────────
2026-05-10T14:53:39.1110048Z     test-results/cli-08.e2e-CLI-08-hard-mil-38a87--round-trip-reconnect-grace-chromium-retry1/test-failed-2.png
2026-05-10T14:53:39.1111924Z     ────────────────────────────────────────────────────────────────────────────────────────────────
2026-05-10T14:53:39.1112683Z 
2026-05-10T14:53:39.1113782Z     Error Context: test-results/cli-08.e2e-CLI-08-hard-mil-38a87--round-trip-reconnect-grace-chromium-retry1/error-context.md
2026-05-10T14:53:39.1114958Z 
2026-05-10T14:53:39.1115965Z     attachment #4: trace (application/zip) ─────────────────────────────────────────────────────────
2026-05-10T14:53:39.1117607Z     test-results/cli-08.e2e-CLI-08-hard-mil-38a87--round-trip-reconnect-grace-chromium-retry1/trace.zip
2026-05-10T14:53:39.1119135Z     Usage:
2026-05-10T14:53:39.1119490Z 
2026-05-10T14:53:39.1120539Z         pnpm exec playwright show-trace test-results/cli-08.e2e-CLI-08-hard-mil-38a87--round-trip-reconnect-grace-chromium-retry1/trace.zip
2026-05-10T14:53:39.1121743Z 
2026-05-10T14:53:39.1122580Z     ────────────────────────────────────────────────────────────────────────────────────────────────
2026-05-10T14:53:39.1123297Z 
2026-05-10T14:53:39.1123609Z   1 failed
2026-05-10T14:53:39.1125062Z     [chromium] › test/e2e/cli-08.e2e.test.ts:22:1 › CLI-08 hard milestone — two clients see each other move + chat round-trip + reconnect grace 
2026-05-10T14:53:39.1718006Z /home/runner/work/rebno/rebno/apps/client:
2026-05-10T14:53:39.1720171Z  ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  @rebno/client@0.1.0 test:e2e: `playwright test`
2026-05-10T14:53:39.1721257Z Exit status 1
2026-05-10T14:53:39.1914109Z ##[error]Process completed with exit code 1.
